home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / programming / source / thesource6.dms / thesource6.adf / Source / Compression / hcompress.lha / hcompress / aareadme
Encoding:
Text File  |  1992-04-20  |  1.6 KB  |  31 lines

  1. 20 April 1992
  2. This directory contains HCOMPRESS, the image compression package
  3. written by Richard L. White for use at the Space Telescope Science
  4. Institute (rlw@stsci.edu).  Briefly, the method used is:
  5.  
  6.     (1) a wavelet transform called the H-transform (a Haar transform
  7.         generalized to two dimensions), followed by
  8.     (2) quantization that discards noise in the image while retaining
  9.         the signal on all scales, followed by
  10.     (3) quadtree coding of the quantized coefficients.
  11.  
  12. The technique gives very good compression for astronomical images and
  13. is fast, requiring about 4 seconds for compression or decompression of
  14. a 512x512 image on a Sun SPARCstation 1.  The calculations are carried
  15. out using integer arithmetic and are entirely reversible.
  16. Consequently, the program can be used for either lossy or lossless
  17. compression, with no special approach needed for the lossless case
  18. (e.g. there is no need for a file of residuals.) Documentation on the
  19. use of the programs and on the compression method is included in the doc
  20. subdirectory.
  21.  
  22. These programs can compress 2-byte integer images in a small variety of
  23. input formats.  The resulting compressed image file is machine-independent
  24. and may be transferred between computers with binary FTP.  The source
  25. code is reasonably machine-independent, although it has not been tested
  26. on a wide range of machines.  Installation instructions for Unix and
  27. VMS (VAX) machines are given in the README files in the appropriate
  28. subdirectories.  I would be very interested to hear of any attempts to
  29. install this code on other kinds of machines (e.g. MS-DOS, Macs.)
  30.  
  31.